If sessionUpdated() fails we get a js failure but not information about
where the actual problem was, so catch for error properly.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3495>
() => this._reloadExtensionStylesheets());
Main.sessionMode.connect('updated', () => {
- this._sessionUpdated();
+ this._sessionUpdated().catch(logError);
});
}
this._installExtensionUpdates();
this._sessionUpdated().then(() => {
ExtensionDownloader.checkForUpdates();
- });
+ }).catch(logError);
GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, UPDATE_CHECK_TIMEOUT, () => {
ExtensionDownloader.checkForUpdates();